<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script src="./js/whiteCat.js"></script>
    <script>
        // whiteCat.ajax({
        //     type:"get",
        //     url:"http://api.tianapi.com/ncov/index",
        //     data:{
        //         key:"ed7404f6f4d01b7b3f4432e45eca3a81"
        //     },
        //     succes:function(data){
        //         console.log(data);
        //     }
        // });
        whiteCat.jsonp({
            type: "get",
            url: 'https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su',
            data: {
                wd: "椒盐皮皮虾"
            },
            jsonp: "cb",
            success: function (data) {
                console.log(data);
            }
        })
    </script>
</body>

</html>